<?php

return [
    'default_channel' => env('LOG_CHANNEL', 'app'),
    'channels' => [
        'app' => [
            'path' => storage_path('logs/app.log'),
            'level' => env('LOG_LEVEL', 'info'),
            'days' => (int) env('LOG_MAX_DAYS', 7),
            'permission' => 0664,
        ],
        'request' => [
            'path' => storage_path('logs/request.log'),
            'level' => 'debug',
            'days' => 14,
        ],
        'database' => [
            'path' => storage_path('logs/database.log'),
            'level' => 'debug',
            'days' => 30,
        ],
    ]
];
